<ion-header>
  <ion-navbar>
    <button ion-button menuToggle>
      <ion-icon name="menu"></ion-icon>
    </button>
    <ion-title>Photo Library</ion-title>
  </ion-navbar>
</ion-header>

<ion-content>

  <div class="g-p-l-15 g-m-r-15 g-m-t-15">
    <button ion-button block (click)="getPhotoLibrary()" [disabled]="disabled">
      获取相册{{ library.length }}
    </button>
  </div>

  <div class="photo-box">
    <div *ngFor="let item of library">
      <!--<img [src]="item.photoURL | cdvphotolibrary" alt="">-->
    </div>
  </div>

</ion-content>

